General remark:
To reproduce results for reading (instead of math) scores, line 4 of STARMainAnalysis.do and STARexportformatlab.do needs to be modified.
To reproduce inference for different quantiles, line 14 of STARexportformatlab.do needs to be modified as well.
To reproduce results of bootstrap inference, for each oucome / quantile, first run STARexportformatlab.do with the appropriate modifications, then run inference.m.



Files for the replication of the empirical analysis in "Partial identification, distributional preferences, and the welfare ranking of policies:"


1) webstar.dta:
original data as available on the web
for more data, data dictionaries, source files etc, please go to
http://thedata.harvard.edu/dvn/dv/mit/faces/study/StudyPage.xhtml?studyId=18871&studyListingIndex=0_ff381766853bb12fef7f7832d746


STATA code (runs in Stata/MP 13.1 for Mac):

2) STARMainAnalysis.do:
script to be run for our main analysis, generating tables 1, 2, and 3, as well as the estimates for figure 2

3) STARdata.do:
script for data preparation. This script is run at the beginning of STARMainAnalysis.do.

4) generateIF.ado:
script to generate influence functions, and upper and lower bounds for counterfactual ourcomes

5) distIVbounds.ado, distIVboundsmonotone.ado:
scripts estimating conditional average treatment effects g^\phi (the latter assuming monotonicity of potential outcomes)

6) policyeffect.ado
script estimating the effect of a specific treatment assignment policy

7) STARexportformatlab.do
script to export data in csv format, for use by Matlab


MATLAB code (runs in Matlab R2014a):

8) inference.m:
script to perform uniform inference as described in section 5.2, based on a bootstrap procedure
this script produces the graphs in figure 3.

9) calculatebounds.m:
script to calculate bounds for a given subsample; this reproduces the functionality of distIVbounds.ado

10) coneline.m:
auxiliary script for the generation of figures
